package com.example.wan_android.adapter

import com.example.wan_android.BR
import com.example.wan_android.R
import com.example.wan_android.databinding.AdapterHotWordBinding
import com.example.wan_android.http.bean.HotWordInfoData
import com.example.wan_android.viewmodel.SearchViewModel

class HotWordAdapter(vm : SearchViewModel):CoreAdapter<AdapterHotWordBinding, SearchViewModel, HotWordInfoData>(
    BR.data,
    BR.viewModel,
    vm
) {
    override fun getItemLayoutId(viewType: Int): Int {
        return R.layout.adapter_hot_word
    }
}